﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

using System.Collections.Generic;

namespace LEEAAttendanceControl
{
    public class NamedColor
    {
        public string ColorName { get; set; }

        public string ForeColor { get; set; }

        public NamedColor() { }

        public static List<NamedColor> GetColors()
        {
            return new List<NamedColor>()
                {
                    new NamedColor() { ColorName = "AliceBlue", ForeColor = "Black" },
                    new NamedColor() { ColorName = "AntiqueWhite", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Aqua", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Aquamarine", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Azure", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Beige", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Bisque", ForeColor = "Black" },
                    new NamedColor() { ColorName = "BlanchedAlmond", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Blue", ForeColor = "White" },
                    new NamedColor() { ColorName = "BlueViolet", ForeColor = "White" },
                    new NamedColor() { ColorName = "Brown", ForeColor = "White" },
                    new NamedColor() { ColorName = "BurlyWood", ForeColor = "Black" },
                    new NamedColor() { ColorName = "CadetBlue", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Chartreuse", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Chocolate", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Coral", ForeColor = "Black" },
                    new NamedColor() { ColorName = "CornflowerBlue", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Cornsilk", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Crimson", ForeColor = "White" },
                    new NamedColor() { ColorName = "Cyan", ForeColor = "Black" },
                    new NamedColor() { ColorName = "DarkBlue", ForeColor = "White" },
                    new NamedColor() { ColorName = "DarkCyan", ForeColor = "White" },
                    new NamedColor() { ColorName = "DarkGoldenrod", ForeColor = "White" },
                    new NamedColor() { ColorName = "DarkGray", ForeColor = "White" },
                    new NamedColor() { ColorName = "DarkGreen", ForeColor = "White" },
                    new NamedColor() { ColorName = "DarkKhaki", ForeColor = "White" },
                    new NamedColor() { ColorName = "DarkMagenta", ForeColor = "White" },
                    new NamedColor() { ColorName = "DarkOliveGreen", ForeColor = "White" },
                    new NamedColor() { ColorName = "DarkOrange", ForeColor = "Black" },
                    new NamedColor() { ColorName = "DarkOrchid", ForeColor = "White" },
                    new NamedColor() { ColorName = "DarkRed", ForeColor = "White" },
                    new NamedColor() { ColorName = "DarkSalmon", ForeColor = "Black" },
                    new NamedColor() { ColorName = "DarkSeaGreen", ForeColor = "White" },
                    new NamedColor() { ColorName = "DarkSlateBlue", ForeColor = "White" },
                    new NamedColor() { ColorName = "DarkTurquoise", ForeColor = "Black" },
                    new NamedColor() { ColorName = "DarkViolet", ForeColor = "White" },
                    new NamedColor() { ColorName = "DeepPink", ForeColor = "White" },
                    new NamedColor() { ColorName = "DeepSkyBlue", ForeColor = "Black" },
                    new NamedColor() { ColorName = "DimGray", ForeColor = "White" },
                    new NamedColor() { ColorName = "DodgerBlue", ForeColor = "White" },
                    new NamedColor() { ColorName = "Firebrick", ForeColor = "White" },
                    new NamedColor() { ColorName = "FloralWhite", ForeColor = "Black" },
                    new NamedColor() { ColorName = "ForestGreen", ForeColor = "White" },
                    new NamedColor() { ColorName = "Fuchsia", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Gainsboro", ForeColor = "Black" },
                    new NamedColor() { ColorName = "GhostWhite", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Gold", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Goldenrod", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Gray", ForeColor = "White" },
                    new NamedColor() { ColorName = "Green", ForeColor = "White" },
                    new NamedColor() { ColorName = "GreenYellow", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Honeydew", ForeColor = "Black" },
                    new NamedColor() { ColorName = "HotPink", ForeColor = "Black" },
                    new NamedColor() { ColorName = "IndianRed", ForeColor = "White" },
                    new NamedColor() { ColorName = "Indigo", ForeColor = "White" },
                    new NamedColor() { ColorName = "Ivory", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Khaki", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Lavender", ForeColor = "Black" },
                    new NamedColor() { ColorName = "LavenderBlush", ForeColor = "Black" },
                    new NamedColor() { ColorName = "LawnGreen", ForeColor = "Black" },
                    new NamedColor() { ColorName = "LemonChiffon", ForeColor = "Black" },
                    new NamedColor() { ColorName = "LightBlue", ForeColor = "Black" },
                    new NamedColor() { ColorName = "LightCoral", ForeColor = "Black" },
                    new NamedColor() { ColorName = "LightCyan", ForeColor = "Black" },
                    new NamedColor() { ColorName = "LightGoldenrodYellow", ForeColor = "Black" },
                    new NamedColor() { ColorName = "LightGray", ForeColor = "Black" },
                    new NamedColor() { ColorName = "LightGreen", ForeColor = "Black" },
                    new NamedColor() { ColorName = "LightPink", ForeColor = "Black" },
                    new NamedColor() { ColorName = "LightSalmon", ForeColor = "Black" },
                    new NamedColor() { ColorName = "LightSeaGreen", ForeColor = "Black" },
                    new NamedColor() { ColorName = "LightSkyBlue", ForeColor = "Black" },
                    new NamedColor() { ColorName = "LightSlateGray", ForeColor = "White" },
                    new NamedColor() { ColorName = "LightSteelBlue", ForeColor = "Black" },
                    new NamedColor() { ColorName = "LightYellow", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Lime", ForeColor = "Black" },
                    new NamedColor() { ColorName = "LimeGreen", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Linen", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Magenta", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Maroon", ForeColor = "White" },
                    new NamedColor() { ColorName = "MediumAquamarine", ForeColor = "Black" },
                    new NamedColor() { ColorName = "MediumBlue", ForeColor = "White" },
                    new NamedColor() { ColorName = "MediumOrchid", ForeColor = "White" },
                    new NamedColor() { ColorName = "MediumPurple", ForeColor = "White" },
                    new NamedColor() { ColorName = "MediumSeaGreen", ForeColor = "White" },
                    new NamedColor() { ColorName = "MediumSlateBlue", ForeColor = "White" },
                    new NamedColor() { ColorName = "MediumSpringGreen", ForeColor = "Black" },
                    new NamedColor() { ColorName = "MediumTurquoise", ForeColor = "Black" },
                    new NamedColor() { ColorName = "MediumVioletRed", ForeColor = "White" },
                    new NamedColor() { ColorName = "MidnightBlue", ForeColor = "White" },
                    new NamedColor() { ColorName = "MintCream", ForeColor = "Black" },
                    new NamedColor() { ColorName = "MistyRose", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Moccasin", ForeColor = "Black" },
                    new NamedColor() { ColorName = "NavajoWhite", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Navy", ForeColor = "White" },
                    new NamedColor() { ColorName = "OldLace", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Olive", ForeColor = "White" },
                    new NamedColor() { ColorName = "OliveDrab", ForeColor = "White" },
                    new NamedColor() { ColorName = "Orange", ForeColor = "Black" },
                    new NamedColor() { ColorName = "OrangeRed", ForeColor = "White" },
                    new NamedColor() { ColorName = "Orchid", ForeColor = "Black" },
                    new NamedColor() { ColorName = "PaleGoldenrod", ForeColor = "Black" },
                    new NamedColor() { ColorName = "PaleGreen", ForeColor = "Black" },
                    new NamedColor() { ColorName = "PaleTurquoise", ForeColor = "Black" },
                    new NamedColor() { ColorName = "PaleVioletRed", ForeColor = "White" },
                    new NamedColor() { ColorName = "PapayaWhip", ForeColor = "Black" },
                    new NamedColor() { ColorName = "PeachPuff", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Peru", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Pink", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Plum", ForeColor = "Black" },
                    new NamedColor() { ColorName = "PowderBlue", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Purple", ForeColor = "White" },
                    new NamedColor() { ColorName = "Red", ForeColor = "White" },
                    new NamedColor() { ColorName = "RosyBrown", ForeColor = "Black" },
                    new NamedColor() { ColorName = "RoyalBlue", ForeColor = "White" },
                    new NamedColor() { ColorName = "SaddleBrown", ForeColor = "White" },
                    new NamedColor() { ColorName = "Salmon", ForeColor = "Black" },
                    new NamedColor() { ColorName = "SandyBrown", ForeColor = "Black" },
                    new NamedColor() { ColorName = "SeaGreen", ForeColor = "White" },
                    new NamedColor() { ColorName = "SeaShell", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Silver", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Sienna", ForeColor = "White" },
                    new NamedColor() { ColorName = "SkyBlue", ForeColor = "Black" },
                    new NamedColor() { ColorName = "SlateBlue", ForeColor = "White" },
                    new NamedColor() { ColorName = "SlateGray", ForeColor = "White" },
                    new NamedColor() { ColorName = "Snow", ForeColor = "Black" },
                    new NamedColor() { ColorName = "SpringGreen", ForeColor = "Black" },
                    new NamedColor() { ColorName = "SteelBlue", ForeColor = "White" },
                    new NamedColor() { ColorName = "Tan", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Teal", ForeColor = "White" },
                    new NamedColor() { ColorName = "Thistle", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Tomato", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Transparent", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Turquoise", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Violet", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Wheat", ForeColor = "Black" },
                    new NamedColor() { ColorName = "White", ForeColor = "Black" },
                    new NamedColor() { ColorName = "WhiteSmoke", ForeColor = "Black" },
                    new NamedColor() { ColorName = "Yellow", ForeColor = "Black" },
                    new NamedColor() { ColorName = "YellowGreen", ForeColor = "Black" }
                };
        }
    }
}
